package cn.lh.org.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Shop {
    Long id;
    @Excel(name = "店铺名称", width = 30)
    String name;
    @Excel(name = "店铺号码", width = 30)
    String tel;
    @Excel(name = "入驻时间", width = 30, exportFormat = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    Date registerTime = new Date();
    Integer state = 1;
    @Excel(name = "店铺地址", width = 30)
    String address;
    String logo;
    Long admin_id;
    Employee admin;
}
